package com.hornsun.data.repository.mapper;

import com.hornsun.data.dbo.AuthClient;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by 编译中... on 2018/7/9.
 */
@Component
public interface AuthInfoMapper {

    List<AuthClient> getAuthClientList(@Param("offset") int offset, @Param("limit") int limit);

    long getCount();

    List<AuthClient> getByAccount(@Param("account") String account, @Param("offset") int offset, @Param("limit") int limit);

    long getCountByAccount(String account);

}
